package com.medical.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class UsageRing {
    //ID
    private Integer id;
    //本期用量
    private String currentUsage;
    //上期用量
    private String previousUsage;
    //时间节点
    private String joint;
    //创建时间
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    //能源类型
    public String energyType;
    //区域id
    private Integer regionId;
}
